﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using Utils;
using Settings;
using System.Data;

namespace PanasonicWarranty.DAL
{
    public partial class DBSmsMtStatistic
    {
        public static SqlDataReader GetByMoGuid(Guid mo_guid)
        {
            string query = "SELECT * FROM SmsMtStatistic sms WHERE sms.MoGuid = @mo_guid";
            return SqlHelper.ExecuteReader(CommonSetting.ConnectionString, CommandType.Text, query, new SqlParameter("@mo_guid", mo_guid));
        }
    }
}
